import { useNavigate } from 'react-router-dom'

export function useOther() {
  const navigate = useNavigate()

  function handleJumpOther() {
    navigate('/other')
  }

  return {
    handleJumpOther
  }
}
